﻿using Shop.ProductService.Data;
using Shop.ProductService.Entities;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Shop.ProductService.Repositorys
{
    /// <summary>
    /// 商品仓储实现
    /// </summary>
    [Dependency(ServiceLifetime.Singleton)]
    public class ProductRepository : EfCoreRepository<ProductServiceDbContext, Products, Guid>, IProductRepository
    {
        public ProductRepository(IDbContextProvider<ProductServiceDbContext> dbContextProvider) : base(dbContextProvider)
        {
        }
    }
}
